package com.yhb.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ThirdPurchaseFlow {
    private String id;
    private String appId;
    private String executionFlowId;
    private Status status;
    private Integer callbackRetryTimes;
    private Date callbackStartTime;
    private String callbackUrl;

    public enum Status {
        PENDING,
        CALLBACKING,
        CALLBACKED
    }
}
